package liuhao.account.entity;

/**
 * `ID` int(11) NOT NULL AUTO_INCREMENT,
  `NAME` varchar(255) DEFAULT NULL,
  `ACCOUNT_NO` varchar(18) DEFAULT NULL,
  `BALANCE` double(255,2) DEFAULT NULL,
  `BANK_ID` int(11) DEFAULT NULL,
 * @author My
 *
 */
public class AccountEntity {
	
	private Integer id;
	private String name;
	/**
	 * 账号
	 */
	private String accountNo;
	/**
	 * 余额
	 */
	private Double balance;
	private Integer bankId;
	
	
	
	//以下非数据库字段
	
	private String bankName;
	
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getAccountNo() {
		return accountNo;
	}
	public void setAccountNo(String accountNo) {
		this.accountNo = accountNo;
	}
	public Double getBalance() {
		return balance;
	}
	public void setBalance(Double balance) {
		this.balance = balance;
	}

	
	
	
	public Integer getBankId() {
		return bankId;
	}
	public void setBankId(Integer bankId) {
		this.bankId = bankId;
	}
	public String getBankName() {
		return bankName;
	}
	public void setBankName(String bankName) {
		this.bankName = bankName;
	}
	@Override
	public String toString() {
		return "AccountEntity [id=" + id + ", name=" + name + ", accountNo=" + accountNo + ", balance=" + balance
				+ ", bankId=" + bankId + ", bankName=" + bankName + "]";
	}
	
	
	
	
	

}
